import { createSlice } from "@reduxjs/toolkit";
import { RootState } from "../store";


const cityList = [
    '武汉', '上海', '北京', '广州', '深圳', '杭州', '南京'
]

const citySlice = createSlice({
    name: 'cityDrp',
    initialState: cityList,
    reducers: { },
})

export const getCityList = (state: RootState) => state.cityList

export default citySlice.reducer;


